/**
 * Copyright (C) 2020-2021   江西省农村信用社联合社
 * All rights reserved
 */
package com.liuyucheng.idea_springboot.wechat.gzh.entity;

import lombok.Data;

/**
 * 数据结构请参照微信相关文档
 * *
 * 微信发来的参数
 */
@Data
public class WxParam {
    /**
     * 微信端发来的签名
     */
    private String signature;
    /**
     * 微信端发来的时间戳
     */
    private String timestamp;
    /**
     * 微信端发来的随机字符串
     */
    private String nonce;
    private String openid;
    private String encType;
    private String msgSignature;
    /**
     * 微信端发来的验证字符串
     */
    private String echostr;

    @Override
    public String toString() {
        return "WxParam{" +
                "signature='" + signature + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", nonce='" + nonce + '\'' +
                ", openid='" + openid + '\'' +
                ", encType='" + encType + '\'' +
                ", msgSignature='" + msgSignature + '\'' +
                ", echostr='" + echostr + '\'' +
                '}';
    }
}
